package com.jiangwz.aop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author jiangwz
 * @create 2021/2/22.
 */
public class MainTest1 {

    public static void main(String[] args){

        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
        A bean = applicationContext.getBean(A.class);
        System.out.println(bean);
    }
}
